import { Request } from 'express';

export interface IAppropriation {
  id: number;
  appropriationName: string;
  appropriationDescription: string;
  appropriationStandard: number;
  appropriationState: string;
  appropriationStart: string;
  appropriationEnd: string;
  appropriationCreatorId: number;
  appropriationApproveDate: string;
  appropriationCostApproverId: number;
  appropriationCostApproverName: string;
  appropriationCostApproveComment: string;
  appropriationPreApproverId: number;
  appropriationPreApproverName: string;
  appropriationPreApproveComment: string;
};

export interface IGetAppropriationByIdReq extends Request<{ id: IAppropriation['id'] }> { }
export interface IAddAppropriationReq extends Request { }
export interface IUpdateAppropriationReq extends Request<{ id: IAppropriation['id'] }, any> { }
export interface IDeleteAppropriationReq extends Request<{ id: IAppropriation['id'] }> { }